package requests

type UsersAccessPost struct {
	UserId   int64  `json:"user_id" validate:"required"`
	NickName string `json:"nickname" validate:"required"`
	Avatar   string `json:"avatar" validate:"required"`
	CoverImage string `json:"cover_image" xorm:"cover_image not null comment('封面') VARCHAR(255)"`
}

type PostFriends struct {
	FriendId int64 `json:"friend_id"`
}

type UsersPutParams struct {
	Nickname  string `json:"nickname"`
	Status    int    `json:"status"`
	Avatar    string `json:"avatar"`
	PushToken string `json:"push_token"`
	CoverImage string `json:"cover_image" xorm:"cover_image not null comment('封面') VARCHAR(255)"`
}
type UserPostToken struct {
	Account  string `json:"account"`
	Password string `json:"password"`
}
type UsersGetOthers struct {
	// 用户id,逗号分隔
	UserIds string `json:"user_ids"`
}
